/**
 * @结构的使用
 *
 * @author	 wangshikun <wangshikun2010@gmail.com>
 * @copyright	(c) 2012 wangshikun <wangshikun2010@gmail.com>
 * @license	http://www.opensource.org/licenses/mit-license.php The MIT License
 * @package	default
 * @subpackage	default
 */

#include <stdio.h>
#include <cs50.h>

int main(int argc, char *argv[]) {
	//结构
	struct date {
		int month;
		int day;
		int year;
	};

	//结构变量
	struct date today;

	today.month = 9;
	today.day = 25;
	today.year = 2004;

	printf("Today's date is %d/%d/%.2d \n", today.month, today.day, today.year % 100);

	return 0;
}
